using System;
using System.Collections.Generic;
using System.Text;

namespace CodePlex.SpaceBlock.JobModel
{
    public class JobInfo
    {
        private readonly Guid _jobID;
        private readonly string _caption;
        private readonly string _description;
        private readonly JobStatus _status;

        private string _from;
        private string _to;
        private string _size;
        private string _transferred;

        private string _speed;
        private IFileSystem _toFS;
        private Path _toPath;

        private int _progress;


        public JobInfo(
            Guid jobID, string caption, string description, JobStatus status,
            string from, string to, string size, string transferred, string speed, IFileSystem toFS, Path toPath, int progress)
        {
            _jobID = jobID;
            _caption = caption;
            _description = description;
            _status = status;

            _from = from;
            _to = to;
            _size = size;
            _transferred = transferred;

            _speed = speed;
          
            _toFS = toFS;
            _toPath = toPath;

            _progress = progress;
        }

        public string Description { get { return _description; } }
        public string Caption { get { return _caption; } }
        public Guid JobID { get { return _jobID; } }
        public JobStatus Status { get { return _status; } }

        public string From { get { return _from; } }
        public string To { get { return _to; } }
        public string Size { get { return _size; } }
        public string Transferred { get { return _transferred; } }

        public string Speed { get { return _speed; } }
        public IFileSystem ToFS { get { return _toFS; } }
        public Path ToPath { get { return _toPath; } }


        public int Progress { get { return _progress; } }

    }
}
